home *** CD-ROM | disk | FTP | other *** search
/ The Business Master (3rd Edition) / The Business Master (3rd Edition).iso / files / utilstem / util2 / undel.doc < prev    next >
Encoding:
Text File  |  1986-11-05  |  3.2 KB  |  60 lines

  1.          
  2.  
  3.                              HOW TO USE UNDEL.COM
  4.           
  5.          UNDEL.COM is a program which will recover files that have been 
  6.          deleted.  The BASIC source code was listed in an article by Steven 
  7.          Holzner in the April 2, 1985 issue of PC Magazine, Volume 4, 
  8.          Number 7.
  9.           
  10.          UNDEL.COM has the following limitations:
  11.           
  12.               1.  It only works on 360k double sided disks formatted under 
  13.                   DOS 2.0 or 2.1.  Perhaps hard disk users wishing to 
  14.                   undelete files should consider purchasing the Norton 
  15.                   Utilities.
  16.               2.  It only works if the deleted file has not been
  17.                   overwritten by another file.
  18.               3.  It is not always successful in recovering non-contiguous 
  19.                   files.  A file is said to be non-contiguous if it does 
  20.                   not occupy consecutive clusters on the disk, which is 
  21.                   common on disks that have been written to and deleted 
  22.                   from several times.  Use the CHKDSK *.* command to identify 
  23.                   non-contiguous files.  If desired regroup all files on a 
  24.                   fragmented disk by using the copy a:*.* b: command.
  25.               4.  It does not recognize path names.
  26.           
  27.          When a file is deleted, the clusters it occupied are still intact.  
  28.          The changes occur on the disk directory and the file allocation 
  29.          table (commonly known as the FAT).  UNDEL.COM restores the 
  30.          directory and FAT entries to what they were before the file was 
  31.          deleted.  A file is not lost forever until it is overwritten by 
  32.          another file.  To undelete a file use UNDEL.COM as follows: 
  33.           
  34.               1.  Do not copy UNDEL.COM onto the disk with the file to
  35.                   be recovered, or the lost file will probably be
  36.                   overwritten.  UNDEL.COM should be on a different
  37.                   drive, either a physical drive or a RAMDISK.
  38.               2.  To recover a file on B: called TEST.COM when UNDEL.COM 
  39.                   is on A:,  enter the following command at the DOS prompt:
  40.                         A>undel b:test.com
  41.               3.  To recover an ASCII (text) file called HELLO.TXT, use
  42.                   the /A parameter (A as in ask) as follows:
  43.                         A>undel/a b:hello.txt
  44.                   The /A parameter prints a few lines from each
  45.                   unassigned cluster on the screen and asks for a Y/N
  46.                   verification as it chains the file together.  The /A
  47.                   parameter will not work on a binary files such as
  48.                   .COM, .EXE, or BASIC programs not saved in the
  49.                   ASCII format.  When binary files are recovered,
  50.                   unassigned clusters are chained together until the
  51.                   proper file length is reached.
  52.  
  53.          To get the complete story, see the article in the above mentioned 
  54.          issue of PC Magazine.
  55.  
  56.          To print this file, set the printer to the top of the page and 
  57.          enter the following command: 
  58.          
  59.               A>copy UNDEL.DOC prn
  60.